Skip to main content

Evaluate Rows Number In a Table (Wait for SQL)

Description

Evaluate Rows Number in a Table (Wait for SQL) scans a database table and checks whether the row count meets user-defined conditions. Use this process entry when your process needs to poll a database until data arrives — for example, waiting for a batch load to complete before triggering a downstream workflow, or periodically checking a queue table until new records appear. It supports custom SQL statements and configurable polling intervals for flexible condition checking.

Configurations

Field NameDescription
Process Entry nameSpecify a unique name for the process entry, on the workspace area. A process entry can be placed on the canvas several times; and each instance of the entry must have a unique name.
ConnectionIdentifies the database connection to use
Target schemaName of the table schema to evaluate
Target table nameName of the table to evaluate
Success when rows countDefines the evaluation method used to compare the number of rows with the given value
ValueDefines the value used for the evaluation
Maximum timeoutAfter this timeout period, the process entry continues with a fail, by default, or success, if the Success on timeout option is checked
Check cycle timeSets the amount time between evaluations
Success on timeoutDefines process entry success behavior when timeout is reached---when checked, reaching the maximum timeout limit causes the process entry to succeed. When left unchecked, reaching the maximum timeout limit causes the process entry to fail.
Custom SQLEnables the use of custom SQL queries
Use variable substitutionReplaces environment variables in the SQL script with their actual value
Clear list of result rows before executionClears the list of result rows before running this process entry
Add rows to resultIncludes returned rows to the result set